﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FacturIT.Service.CompanyProject
{
    public class CompanyProjectDTO
    {
        private FacturIT.BLL.Model.CompanyProject.CompanyProject companyproject;

        public CompanyProjectDTO(FacturIT.BLL.Model.CompanyProject.CompanyProject companyproject)
        {
            this.companyproject = companyproject;
        }
        public bool HasObject { get { return companyproject != null; } }


        public int CompanyProjectID
        {
            get
            {
                return companyproject.CompanyProjectID;
            }
            private set
            {
            }
        }

        public int CompanyID
        {
            get
            {
                return companyproject.CompanyID;
            }
            private set
            {
            }
        }

        public int ProjectID
        {
            get
            {
                return companyproject.ProjectID;
            }
            private set
            {
            }
        }
    }
}